<{include file="header.html"}>
<style>
table
{
	background-color:#cbcbcb;
	margin-top:20px;
}
th
{
	background-color:#eeeeee;
	font-weight:bold;
	font-size:18px;
}
td
{
	background-color:#ffffff;
}
input[type="submit"],input[type="button"].submit
{
	margin-top:0px;
}
</style>
<div style="hieght:10px;width:100%;">&nbsp;</div>
<div>
<span>
<a href="<{spUrl c=$controller a=edit}>"><input type="button" class="submit" value="新增"/></a>
&nbsp;&nbsp;
<a href="<{spUrl c=$parentcontroller a=index}>"><input type="button" class="submit" value="返回主菜单"/></a>
</span>
</div>

<table width="100%" cellspacing="2" cellpadding="5">
<tr>
	<th align="left">英文名称</th>
	<th align="left">中文名称</th>
	<th align="left"  width="70">价格</th>
	<th align="left" width="50">排序</th>
	<th align="left" width="50">显示</th>
	<th align="left"></th>
</tr>
<{foreach item=menuitem from=$menu_item_list}>
<tr>
	<td><{$menuitem['name_en']}></td>
	<td><{$menuitem['name_cn']}></td>
	<td><{$menuitem['price']|nl2br}></td>
	<td><{$menuitem['order']}></td>
	<td><{$menuitem['active']}></td>
	<td align="center" width="200">
	<a href="<{spUrl c=$controller a=edit}>&uuid=<{$menuitem['uuid']}>"><input type="button" class="submit" value="修改"/></a>
	&nbsp;&nbsp;
	<a href="<{spUrl c=$controller a=delete}>&uuid=<{$menuitem['uuid']}>" onclick="return confirm('确定删除?');"><input type="button" class="submit" value="删除" onclick="deleteCatalog('<{$catalogrrow['uuid']}>');"/></a>
	</td>
</tr>
<{/foreach}>
</table>
<{include file="footer.html"}>